﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace JohnnySins.Entities
{
    public class Banner
    {
        public int BannerId { get; set; }
        public string BannerFileName { get; set; }
        public bool IsActive { get; set; }
        public string PageName { get; set; }

        public string Status
        {
            get
            {
                return IsActive ? "Active" : "Deactivate";
            }
        }
        public string PhysFileName
        {
            get
            {
                return BannerId.ToString() + "-" + BannerFileName;
            }
        }
    }
}
